package me.raih.mapper;

import me.raih.pojo.po.Menu;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Raih
 * @Time 2020/11/26  12:50
 */
@Mapper
@Repository
public interface MenuMapper {
    /**
     * 管理员查询菜单
     * @return List<Menu>
     */
    List<Menu> adminFindAllMenu();

    /**
     * 售货员查询菜单
     * @return List<Menu>
     */
    List<Menu> salesFindAllMenu();


}
